package com.tencreat.domain.mall.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
public class MallGoodsCollageVO {

    private Long collageId;

    @ApiModelProperty("专区名称")
    private String zoneName;

    private Long zoneId;

    @ApiModelProperty("商品ID")
    private Long goodsId;

    @ApiModelProperty("商品名称")
    private String goodName;

    @ApiModelProperty("商品图片")
    private String picUrl;

    @ApiModelProperty("商品价格")
    private BigDecimal price;

    @ApiModelProperty("拼团价格")
    private BigDecimal collagePrice;

    @ApiModelProperty("拼团人数")
    private Long collageCount;
    /***
     * 单位 小时
     */
    @ApiModelProperty("拼团时长")
    private BigDecimal collageTime;
    /***
     * 单位 小时
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startTime;
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
    private Long sort;

    @ApiModelProperty("活动编号")
    private String activeSn;

    @ApiModelProperty("供应商名称")
    private String supplierName;

    @ApiModelProperty("商品状态")
    private Integer isOnSale;

    @ApiModelProperty("拼团状态")
    private Integer status;

    @ApiModelProperty("销量")
    private Integer numberGet;

    @ApiModelProperty(value= "是否分佣 1-是 0-否")
    private Integer isBonus;
}
